import Vue from "vue";
import Vuex from "vuex";
Vue.use(Vuex);
//不是在生产环境debug为true
const debug = process.env.NODE_ENV !== "production";

// 引入其他文件下的仓库
import header from "./Header";
import windows from "./Windows";
import programDock from "./ProgramDock";
import softInfo from "./SoftInfo";

//创建Vuex实例对象
export default new Vuex.Store({
  modules: {
    header,
    windows,
    programDock,
    softInfo,
  },
});
